﻿using CommunityToolkit.Mvvm.ComponentModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AppFramework.Admin.Models.Users
{
    [INotifyPropertyChanged]
    public partial class UserCreateOrUpdateModel
    {
        [ObservableProperty]
        private bool sendActivationEmail;

        [ObservableProperty]
        private bool setRandomPassword;

        public UserEditModel User { get; set; }

        public string[] AssignedRoleNames { get; set; }

        public List<long> OrganizationUnits { get; set; }

        public UserCreateOrUpdateModel()
        {
            OrganizationUnits = new List<long>();
        }
    }
}
